package com.juice.iot.sdk.protocol;

/**
 * Created by haonan on 2018/12/27
 */
public class PropMessage {
    private String id;
    private String flag;
    private Object value;

    public PropMessage(){}

    public PropMessage(String id, String flag, Object value) {
        this.id = id;
        this.flag = flag;
        this.value = value;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "PropMessage{" +
                "id='" + id + '\'' +
                ", flag='" + flag + '\'' +
                ", value=" + value +
                '}';
    }
}
